package com.abai.doubi.server.service;

import com.abai.doubi.entity.pojo.Conversation;
import com.abai.doubi.entity.pojo.Role;
import com.abai.doubi.entity.pojo.RoleSkill;
import org.springframework.ai.chat.model.ChatResponse;
import reactor.core.publisher.Flux;

import java.util.List;

public interface IChatService {

    String generateReply(Role role, String userMessage, RoleSkill usedSkill, List<Conversation> historys);

    Flux<String> generateStreamReply(Role role, String userMessage, RoleSkill usedSkill, List<Conversation> historys);
}
